package com.hr.mes.service;

import com.hr.mes.dto.Page;
import com.hr.mes.entity.Permission;

public interface PermissionService {

    void addPermission(Permission permission);

    void deletePermission(Integer permissionId);

    void updatePermission(Permission permission);

    Page<Permission> getPermissionPage(Integer pageNo, Integer pageSize);

    Permission getPermission(Integer permissionId);

}
